<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>主界面</title>
		<style>
			/* Layout start */
			html,
			body {
				height: 100%;
				margin: 0;
				font-size: 14px;
			}

			#app {
				height: 100%;
				display: flex;
			}

			.sidebar {
				width: 200px;
			}

			.main {
				flex: 1;
				display: flex;
			}
			/* Layout end */

			/* Beautiful */

			a {
				text-decoration: none;
			}

			.sidebar {
				background-color: #2d3a4b;
				color: #ddd;
			}

			.sidebar a {
				color: #ddd;
			}

			.user {
				display: flex;
				align-items: center;
				justify-content: space-between;
				padding: 20px;
			}

			ul {
				padding: 0;
				margin: 0;
				list-style: none;
			}

			.menu a {
				display: block;
				padding: 15px 20px;
			}

			.menu a:hover {
				background-color: #202a36;
				color: #fff;
			}
		</style>
	</head>
	<body>
		<div id="app">
			<div class="sidebar">
				<!-- 当前用户信息 -->
				<div class="user">
					<img src="holder.js/64x64" alt="" />
					<div>
						<div>ANGEL</div>
						<div><a href="#">退出登录</a></div>
					</div>
				</div>
				<!-- 功能菜单 -->
				<div class="menu">
					<ul>
						<li>
							<a href="./dashboard/index.html" target="main">仪表盘</a>
						</li>
						<li>
							<a href="./lead/list.html" target="main">线索管理</a>
						</li>
						<li>
							<a href="./cust/list.html" target="main">客户管理</a>
						</li>
						<li>
							<a href="./contact/list.html" target="main">联系人管理</a>
						</li>
						<li>
							<a href="./business/list.html" target="main">商机管理</a>
						</li>
						<li>
							<a href="./contract/list.html" target="main">合同管理</a>
						</li>
						<li>
							<a href="#">回款管理</a>
						</li>
						<li>
							<a href="#">销售漏斗</a>
						</li>
						<li>
							<a href="#">销售排行榜</a>
						</li>
					</ul>
				</div>
			</div>
			<div class="main">
				<!-- 在这挖个坑，用其它页面填这个坑 -->
				<iframe
					name="main"
					src="./dashboard/index.html"
					style="flex: 1; border: none"
				></iframe>
			</div>
		</div>

		<script src="js/holder.js"></script>
	</body>
</html>
